<template>
	<view class="bottom_big_btn_view">
		<view @click="commit" class="btn">{{ btnTitle }}</view>
	</view>
</template>

<script>
	export default {
		name:"bottom-big-btn-view",
		data() {
			return {
				
			};
		},
		props: {
			btnTitle: {
				type: String,
				default: ''
			}
		},
		methods: {
			commit() {
				this.$emit('commit')
			}
		}
	}
</script>

<style scoped>
	.bottom_big_btn_view {
		height: calc(116rpx + env(safe-area-inset-bottom));
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 999;
		width: 100%;
	}
	.btn {
		margin-top: 0rpx;
		margin-left: 30rpx;
		margin-right: 30rpx;
		width: calc(100% - 60rpx);
		height: 96rpx;
		background: linear-gradient(180deg, #46C09E 0%, #156D4F 100%);
		box-shadow: 0rpx 24rpx 48rpx 0rpx rgba(55,168,148,0.2);
		border-radius: 24rpx;
		color: #fff;
		line-height: 96rpx;
		text-align: center;
		font-size: 30rpx;
	}
</style>